
# extend

list1 = list(range(1, 3))
list2 = list(range(5, 8))

list1.extend(list2)

print(list1)